<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
      [v-cloak] {
          display: none;
      }
  </style>
</head>
<body>
  <div id="app">
      <h2>{{msg2}}</h2>
      <h2 v-cloak>{{msg1}}</h2>
  </div>
  <script src="./vue.js"></script>
  <script>
    var vm = new Vue({
      el:'#app',
      data:{
          msg1:"this is a message",
          msg2:"this is a msg without cloak"
      },
      methods:{
      }
     });
  </script>
</body>
</html>
